Skip to content

sdbus: add build-sdbus.yml for riscv64 wheels - #1503

Merged
luhenry merged 2 commits into
mainfrom
sdbus
Sep 8, 2026
Merged

sdbus: add build-sdbus.yml for riscv64 wheels#1503
luhenry merged 2 commits into
mainfrom
sdbus

Conversation

@luhenry

@luhenry luhenry commented Sep 8, 2026

Copy link
Copy Markdown
Member

C extension binding libsystemd's sd-bus D-Bus API. Upstream publishes only a cp39 wheel, no riscv64.

Mirrors upstream's ci.yml unlimited/limited-API build and unittest steps.

Differs from upstream

  • Links libsystemd dynamically via the image's systemd-devel, not upstream's from-source static build - manylinux_2_39_riscv64 already ships a modern libsystemd.
  • abi3 floor is cp312 (RISE's min), not upstream's cp39 - setup.py never fixes the floor itself, so it's ours to pick.
  • Dropped musllinux - libsystemd has no Alpine build; upstream tests Alpine against elogind instead.

Matrix: cp312-abi3 (built once, reused on cp313/cp314) + cp314t.

Testing

  • same as upstream (unittest discover over test/, using its own private-bus fixture); added jinja2, matching upstream's own CI dependency for the interface-generator tests.

License: Wheel bundles libsystemd (LGPL-2.1-or-later) and libcap (BSD-3-Clause OR GPL-2.0-only); upstream ships no licence text for them, so the build adds it.

Built cp312 locally in the riscv64 manylinux container; wheel installs and the compiled extension loads correctly.

luhenry added a commit that referenced this pull request Sep 8, 2026
@luhenry
luhenry merged commit cde8187 into main Sep 8, 2026
8 checks passed
@luhenry
luhenry deleted the sdbus branch September 8, 2026 08:46
@luhenry luhenry mentioned this pull request Sep 8, 2026
@luhenry luhenry linked an issue Sep 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sdbus riscv64 support

1 participant